package com.lottery.controller;

import com.lottery.utils.DateUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
public class TestController {

    @GetMapping("getServerTime")
    public String getServerTime() {
        return DateUtils.getSub4DT();
    }
}
